package com.ict.txmsv2.mapper;

import com.ict.txmsv2.model.Lend;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LendMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Lend record);

    int insertSelective(Lend record);

    Lend selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Lend record);

    int updateByPrimaryKey(Lend record);

    List<Lend> getAllLend(@Param("lName") String lName,@Param("lTime") String lTime,@Param("status") Integer status,@Param("returnTime") String returnTime);
}